/* GUI CONVERTED from rcrqmyn.p (converter v1.76) Wed Dec 12 05:26:42 2001 */
/* rcrqmyn.p - Customer Schedules - Determine if comments exist for schedule  */
/* Copyright 1986-2002 QAD Inc., Carpinteria, CA, USA.                        */
/* All rights reserved worldwide.  This is an unpublished work.               */
/* $Revision: 1.4 $                                                           */
/*V8:ConvertMode=Maintenance                                                  */
/* REVISION: 8.6    LAST MODIFIED: 09/20/96      BY: TSI *K005*               */
/* REVISION: 9.1    LAST MODIFIED: 08/12/00      BY: *N0KP* Mark Brown        */
/* $Revision: 1.4 $    BY: Jean Miller           DATE: 12/10/01  ECO: *P03H*  */
/******************************************************************************/
/* All patch markers and commented out code have been removed from the source */
/* code below. For all future modifications to this file, any code which is   */
/* no longer required should be deleted and no in-line patch markers should   */
/* be added.  The ECO marker should only be included in the Revision History. */
/******************************************************************************/

define input parameter schddet_recid as recid.
define input-output parameter rqmts as logical.

find schd_det where recid(schd_det) = schddet_recid no-lock.

rqmts = if can-find(first rqm_det
                    where rqm_type      = schd_type
                     and rqm_nbr       = schd_nbr
                     and rqm_line      = schd_line
                     and rqm_rlse_id   = schd_rlse_id
                     and rqm_date      = schd_date
                     and rqm_time      = schd_time
                     and rqm_interval  = schd_interval
                     and rqm_reference = schd_reference)
        then yes
        else no.
